When the guest shuts down a VM, make sure that the domain gets destroyed.
authoradsharma@los-vmm.sc.intel.com <adsharma@los-vmm.sc.intel.com>
Tue, 9 Aug 2005 19:12:44 +0000 (11:12 -0800)
committeradsharma@los-vmm.sc.intel.com <adsharma@los-vmm.sc.intel.com>
Tue, 9 Aug 2005 19:12:44 +0000 (11:12 -0800)
commitdbd81fc2a5390d3ef75c87dc0116a6f3fa593eed
tree639a45c6c2a0a8f65911e5d5e37cca1cb541c130
parent882b16c2e06cb16258ae15eb47c197df3ee5bcc3
When the guest shuts down a VM, make sure that the domain gets destroyed.

Device model needs to do xm destroy before it exits on
guest shutdown/poweroff/halt -p.

Signed-off-by: Edwin Zhai <edwin.zhai@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
tools/ioemu/monitor.c
tools/ioemu/target-i386-dm/helper2.c